import {request} from "umi"
import {ILoginData} from "@/utils/types"


export let login=(data:ILoginData)=>{
    return request('/auth/loginByMobile',{
        method:'POST',
        params:{},
        data:data
    })
} 
